package com.gidgabs.modules.api.service;

import com.gidgabs.modules.entity.TbUserFriendsEntity;

import java.util.List;
import java.util.Map;

/**
 * 用户关系表-朋友中间表
 * 
 * @author lanyonglin
 * @email www.baidu.com
 * @date 2018-07-02 10:07:40
 */
public interface TbUserFriendsService {
	
	TbUserFriendsEntity queryObject(Integer id);
	
	List<TbUserFriendsEntity> queryList(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(TbUserFriendsEntity userFriends);
	
	void update(TbUserFriendsEntity userFriends);
	
	void delete(Integer id);
	
	void deleteBatch(Integer[] ids);
}
